package v1

import (
	"clockIn/internal/model/entity"
	"clockIn/internal/model/input"
	"github.com/gogf/gf/v2/frame/g"
)

type GetListReq struct {
	g.Meta `path:"/clockIn" tags:"打卡记录" method:"get" summary:"获取打卡记录列表"`
	input.ClockInCreateModel
}

type GetListRes struct {
	List  []*entity.ClockIn `json:"list"   dc:"数据列表"`
	Total int               `json:"total" dc:"打卡总次数"`
}

type CreateReq struct {
	g.Meta `path:"/clockIn" tags:"打卡记录" method:"post" summary:"打卡"`
	ItemId int64 `json:"item_id" v:"required#项目ID不能为空" dc:"项目ID"`
}

type CreateRes struct{}
